package edu.whut.mall.user.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
/**
 * Author: smq
 * Unit: D9lab
 * Date: 2021-06-07 16:15
 */
@AllArgsConstructor
@Data
@Builder
public class CommentFile {
    @TableId(type = IdType.AUTO)
    private int id;
    private Integer orderTrade;
    private Integer file;
    private Integer fileThumb;
    private Integer cover;
    private String type;
    private Date createTime;
    private Date updateTime;
    private Integer isDeleted;

    public CommentFile() {
        this.createTime = new Date();
    }
}

